package android.framework;

import android.app.Application;

/**
 * 
 * @ClassName: App
 * @Description: TODO
 * @author jtf19@163.com
 * @date 2013-7-18 上午10:59:18
 * 
 */

public class App extends Application {
	private static App instance;

	@Override
	public void onCreate() {
		super.onCreate();
		instance = this;
	}

	public static App getInstance() {
		return instance;
	}

	public void exitApp() {
		android.os.Process.killProcess(android.os.Process.myPid());
		System.exit(0);
	}
}
